/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mti.javashare.dao;

import com.mti.javashare.beans.File;
import java.util.Collection;

/**
 *
 * @author Benjamin
 */
public interface IFileDao
{
    File getById(int id);
    File getByName(String name);
    Collection<File> getAll();
    void add(File file);
    void update(File file);
    void remove(File file);
}
